package com.puppet.building.handler;

import com.puppet.building.handler.exception.MyBuildingException;
import com.puppet.building.pojo.Result;

public class MyAssert {
    public static void error(boolean flg,String msg){
        if (flg) throw new MyBuildingException(Result.fail(msg));
    }
}
